lattice.so: Lattice-python.cpp ../Lattice.cpp ../Cell.cpp
	g++ -std=c++0x -shared -fPIC -fno-stack-protector -o lattice.so Lattice-python.cpp ../Lattice.cpp ../Cell.cpp -I/usr/include/python2.7 -lboost_python -lpython2.7

clean:
	rm -f lattice.so
